package com.xoa.service.easyReport;

import com.xoa.model.easyReport.RepFlow;
import com.xoa.model.easyReport.RepTable;
import com.xoa.util.ToJson;

import javax.servlet.http.HttpServletRequest;

public interface RepDataService{

    ToJson<RepTable> inserRepDatas(HttpServletRequest request, RepTable repTable);

    ToJson<RepFlow> updateRepDatas(HttpServletRequest request, RepFlow repFlow);

    ToJson<RepFlow> delRepDataByFlowId(HttpServletRequest request, Integer tableId ,Integer flowId);

    ToJson<RepFlow> findRepDataByFlowId(HttpServletRequest request, Integer flowId);

    ToJson<RepFlow> findRepDatas(HttpServletRequest request,Integer page,Integer limit,boolean useFlag, String type , Integer tableId, String startTime , String endTime);
}
